
public class PokemonTerre extends Pokemon {
	private int patte;
	private float taille;
	
	public PokemonTerre(String n, double p, float t, int pattes) {
		super(n, p);
		this.taille = t;
		this.patte = pattes;
	}

	public double vitesse() {
		return patte * taille * 3;
	}
	
	public String toString() {
		return super.toString() + " j'ai "+patte+" pattes, ma taille est de "+taille+ "m";
	}

}
